/**
 * Copyright 2011 Poltman.Ltd; www.poltman.com. All rights reserved.		
 *
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */
package com.poltman.dscentral.db.entity.dspace;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author z.ciok@poltman.com
 */
@Entity
@Table(name="epersongroup2eperson")
public class Epersongroup2epersonEntity implements Serializable {

	private static final long serialVersionUID = -9103729437769581152L;

	@Id
    @SequenceGenerator(name="epersongroup2eperson_seq", sequenceName="epersongroup2eperson_seq")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="epersongroup2eperson_seq") 
    @Column(name="id")
    private Integer Id;
	
	@Column(name="eperson_group_id")
	private Integer epersonGroupId;
	
	@Column(name="eperson_id")
	private Integer epersonId;
	
	public Integer getId() {
		return Id;
	}
	public void setId(Integer id) {
		Id = id;
	}

	public Integer getEpersonGroupId() {
		return epersonGroupId;
	}
	public void setEpersonGroupId(Integer epersonGroupId) {
		this.epersonGroupId = epersonGroupId;
	}

	public Integer getEpersonId() {
		return epersonId;
	}
	public void setEpersonId(Integer epersonId) {
		this.epersonId = epersonId;
	}
}
